package com.achievement.mapper;

import com.achievement.domain.entity.AppraisalProductEntity;
import com.achievement.domain.param.AppraisalProductParam;
import com.achievement.domain.vo.AppraisalProductVO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * 科研成果-鉴定成果列Mapper接口
 * 
 * @author ruoyi
 * @date 2025-02-27
 */
public interface AppraisalProductMapper extends BaseMapper<AppraisalProductEntity>
{

    /**
     * 查询科研成果-鉴定成果列列表
     * 
     * @param param 科研成果-鉴定成果列
     * @return 科研成果-鉴定成果列集合
     */
    List<AppraisalProductVO> getList(@Param(value = "param")AppraisalProductParam param, @Param(Constants.WRAPPER) Wrapper<AppraisalProductEntity> queryWrapper);


    List<AppraisalProductVO> getListByExport(@Param(value = "param")AppraisalProductParam param, @Param(Constants.WRAPPER) Wrapper<AppraisalProductEntity> queryWrapper);

    List<HashMap<String, Integer>> listStatistics(@Param(value = "param")AppraisalProductParam param,@Param(Constants.WRAPPER) LambdaQueryWrapper<AppraisalProductEntity> queryWrapper);
}
